package com.shopping.cart

class Image {
    String name
    String altText
    String location

    static belongTo = [item:Item]

    static mapping = {
        cache  true
    }
    static constraints = {
        name nullable: false
        altText nullable: true
        location nullable: false
    }
}